package com.ruoyi.dp.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class DpBaseEntity implements Serializable {
    /** ID */
    @ApiModelProperty("ID")
    private int ID;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    @ApiModelProperty("乐观锁")
    private Long REVISION;

    /** 创建时间 */
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

}
